package com.ruoyi.web.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class MaterialBrowseVo implements Serializable {
    /** 物料库存一览 */
    private Long id;
    @Excel(name = "入库单编码")
    private String inCode;
    /** 物料分类 */
    @Excel(name = "物料分类")
    private String materialClass;
    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialCode;
    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;
    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specs;
    /** 单位 */
    @Excel(name = "单位")
    private String unit;
    /** 单价 */
    @Excel(name = "单价")
    private String price;
    /** 起初数量 */
    @Excel(name = "起初数量")
    private BigDecimal firstNum;
    /** 入库数量 */
    @Excel(name = "入库数量")
    private String inNum;
    /** 领用数量 */
    @Excel(name = "领用数量")
    private String useNum;
    /** 退库数量 */
    @Excel(name = "退库数量")
    private String returnNum;
    /** 退货数量 */
    @Excel(name = "退货数量")
    private String rejectNum;
    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private String inventoryNum;
    /** 总金额 */
    @Excel(name = "总金额")
    private String amount;
    /** 出库金额 */
    @Excel(name = "出库金额")
    private String outAmount;
    /** 剩余金额 */
    @Excel(name = "剩余金额")
    private String leaveAmount;
    /** 剩余数量*/
    @Excel(name = "剩余数量")
    private String leaveQuantity;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private String originalCode;
}
